package org.example.girlfriend;

/**
 * @author: 默苍璃
 * @date: 2024-06-28 10:55
 */
public class GirlFriend {

    String sex;// 性别
    int age;// 年龄
    int stature;// 身高
    int weight;// 体重
    String type;// 类型

    /**
     * 构造方法
     *
     * @param builder
     */
    public GirlFriend(GirlFriendBuilder builder) {
        this.sex = builder.sex;
        this.age = builder.age;
        this.stature = builder.stature;
        this.weight = builder.weight;
        this.type = builder.type;
    }

    @Override
    public String toString() {
        return "GirlFriend{" +
                "sex='" + sex + '\'' +
                ", age=" + age +
                ", stature=" + stature +
                ", weight=" + weight +
                ", type='" + type + '\'' +
                '}';
    }

}
